package me.sdau.spider.manager.modules.system.service;

import me.sdau.spider.manager.common.entity.bo.Tree;
import me.sdau.spider.manager.modules.system.entity.Menu;

import java.util.List;

/**
 * @author zj
 * @date 2018/4/9 14:52
 */
public interface MenuService {

    Menu getMenuById(Long id);

    int insertMenu(Menu menu);

    List<Tree<Menu>> listMuneTree(Long id);

    List<Menu> list();
}
